semantic.home = {};
semantic.home.ready = function () {
    var
        $header = $( '.masthead' ),
        $ui = $header.find( 'h1 b' ),
        $library = $header.find( '.library' )

    var handler = {
        introduction : function () {
            $header.removeClass( 'zoomed' );

            $ui.typed( {
                replaceBaseText : true,
                strings : [
                    $ui.data( 'text' )
                ],
                showCursor : false,
                typeSpeed : 120,
                backSpeed : 120,
                backDelay : 500
            } );
            $library.transition( 'scale in', 1000 );
        }
    };



    handler.introduction();
};


$(semantic.home.ready);